package model;

import java.util.UUID;

import android.framework.binding.BindableList;
import android.framework.binding.BindableString;
import android.graphics.drawable.Drawable;

public abstract class Entity {
	
	private BindableList<Member>  membersList = new BindableList<Member>();
	private BindableString entityName = new BindableString();
	private BindableString description = new BindableString();
	private UUID entityId;
	protected Drawable picture;
	
	public Entity(){
		
	}
	
	public Entity(String name, String description){
		this();
		entityName.setText(name);
		this.description.setText(description);
	}
	
	
	public BindableString getDescription() {
		return description;
	}
	
	public UUID getEntityId() {
		return entityId;
	}
	
	protected void setEntityId(UUID entityId) {
		this.entityId = entityId;
	}

	public BindableString getEntityName() {
		return entityName;
	}

	public Drawable getPicture() {
		return picture;
	}

	public void setPicture(Drawable picture) {
		this.picture = picture;
	}

	public BindableList<Member> getMembersList() {
		return membersList;
	}

	
}
